fixed svg rendering for browser and files