tweaks to the bug submit code