Fixing clause problem