fix for svg.php in upgrade 5.7.4