fixed bug in parallel scoring