code cleanup. applied CakePHP coding style