Infinity Fix (Fix for infinity bug)