check for null, ignore if so