a bug for test input fixed