fix returned value while selecting users