fixed users array problem