small clean up, generate less labels in debug mode