fix bugs in mutator