parsing dynamic menu