fix download part problem, add png support