fixed some issues in menu creator