Fixes the nav bug