ssa: fix the modification hook