maps controller and fix in maps