fix save/load parameters issue
separate dirty bit from param_set