bug in the return function of the setter