fix: compilation error because of multiple function declarations