fix a bug of nav