fix create plan bug