fixed a bug with users