Some Null checks