fixed collapsed menu bug