Fixed bug with nav