[opencage]: Fixed code based on comments