fix nav behavior