Fixed str_replace() error