fixed a bug that came from changing the interestpoints