fixed bugs in multi-level navigation