fixing syntax error in base_objects_controller