fixed problem with map_frame parameter