remove an extraneous argument in str_replace_all