fixed wrong string parameter building