remove a useless conditional