fixed map authentication bug