Fixed stupid replace bug.