fix trust map generation