Typo error corrected on SQL parameters