fixes param string formatting and collecting