fixed bug with too many characters in parameter