update to work with latest inflector corrections

and running on CakePHP 2.4