removed unnecessary str.replace()