Recalculate stock fix