fixed map errors