fixed weird bug with map button