fixed bug with for loop if users not a list