added non null checks to quiet ide