controller macros not recognised