null chain check