tryinign to fix first load layout error on navbar