fix dynamic menu