optimize performance in case dataset has protocolused