remove links and bugs