fix mapRoute
update documentation