avoid mess if scoring function fails