fix the not working navbar