fix bad user comparison