made set() return , fixes #45