Fix syntax error and missing | operator