resolve complie error