debug local source management buttons and formatting