fixed a mistake with interest