fix an issue with the Advanced class not finding keys