fixing compilation errors in baseline and ec scorers