Fix a bug for backwards compatibility