catch null objects