fixed userId bug