fixed sync_plans command bug I introduced