I learnt many years ago to ALWAYS use pcount(), never parameter()
>It was a dumb mistake. I was running a decryption class on a password before checking the parameter count and since the class is passed a parameter it makes the parameter count go up. Sorry for waisting all of your time. Thanks