Set expressions fix

There is a bug on the set expressions which must be fixed as they wont work.