got rid of a warning on map controller