fixed bug with percent signs in arguments