fix issues: controller/view/template/class_methods