fixed the loading sidev nav and dir nav