fixed multiple replace