a null check. sigh.