fixing duplicate user errors