remove leading and ending white space in parameter closes #168