fixing param statement