removed unused null checks