fix user check