fix ex-bug