fix sensei pre save hook