fixing the set option