bug fix missing user id