corrected wrong parameters printed during debugging