Dealt with null objects