bugfix

error warning updated to include svg/g