remove unnecessary check that is already performed one level above