fixed bug in set as need recalculated logic