Fix duplicate api name. Be more vebose with logging