disable menu on loading resources