fix navgation bar problem