BUG: Fixed two bugs in chl files.