improved export to png