fix bug in kdj-ex