remove an unnecessary nil check, as another one