fixing protocol difference issue