Fixed cacheControllers, refactor event.record -> event.debug