disable some old menu code