adding path escape function for instruments params