fix navigation layer problem