import mapkit lib and fix the type not match bug