null never passes here. maybe null check can be removed after merge since it is already merged master.