Fixed proto serialiser issue