regen extracted if null checks to outside renderer methods