error: you pass messages with type '0'