fix so we can upload pngs too