fixed default trust manager algorithm