fixed index issue in binify