remove superfluous checks