finalizing replace_underscore