check null element