cleanup datastream header
cleanup extension