fix navbar static bug