remove unneed backward compatiblity check