fixed header formatting
removed debugging mode