remove protocol from comparison