ke compatibility fix