fix macd feature