fix - use str_replate instead of preg_replace