take into account old progs that pass a hash which could have nil content_type