Missed another spot changing from str_replace to sprintf
Another fix for sprintf