fixed map end ban bug