fixed map layout issue