added bug fix references from bali_score function readmsf