parsed file and fixed navbar bug