remove unused links and includes