removing an unnecessary check