Fixed error related with wrong protocol definition