Remove unnecessarily if check