fixed syntax error in consume output