problems with map