fixed map button being disabled