you had previously purchased at a higher price and even if you have sold and buy again, it will average both purchases.