Fix a bug for horizon 1