Resolve complie errors.