Set expressions fixed

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