sma points error