userid check fix