Null check uid