Fixed undefined bug in Nav block