fixed bug with recalculate and score