fixed a bug on the navbar header