changing all occurances of r151006c to 151006
rescuing nil errors when validating parameters