fix uid zero bug