dump planning.json if debug=true
fix merge conflict