fix map disappearing