fixed a bug in the new navigation