hide commands when not applicable