Revert "added the targetpage hook"