removed redundant string replace.