Fixed: links deleting and index table