cleanup for debugging messages