removed leading and trailing whitespace and carriage returns from parameters