Fixing bug in ltd hook.