repair bug : didn't rename all variables from "saveForm" to "sortForm"