Quick fix to the menu alter of OS importer.

There are problems with the way the menu alter works. I created a quick fix for that.