map translate not working