Resolves navbar issue