fixed some sub menu issues