Fix after execute hook