adds fixes for svg handeling