fix weird error in test