Corrected parameters for clear procedure