discoverer: fix build after last commit