remove unused projects and hooks