fix underscore replace