corrected error in parameters