fix errors with user ids