Attraction equation fix