removed bug

added check to stop bug when clicked menu button on the module menu