fixed program fibre index bug