Fix some bugs about Abc import.