fixed bug in setting USER