replace more class_eval and module_eval