fix unique user issue