Fix ILModified hook