fix extend defaultOptions