clean up some hidden class stuff