take debugging commands out of mod/display