Correct typo to eliminate orphan variable $param