fixed run-on after class entry