fix problem with svg on safari