fixed a bug with the user id key