corrected deprecated command