fixed issue with menu collapse