fixed "set" functions

Signed-off-by: Michele Berger <michele.berger@jtl-software.com>