resolved menu disappearing problem