remove unnecessary class_eval