another small bug involving ' character
change the argument names to function