fix bug when changing a plan is default to false