fix bug when Save used after input plugin