bug in the 'set' method .