Fix clause bug