string 'set' method returns True instead of OK