remove unnedded check