fix dynamic nav