fixed crash on nonexistent category score