Fix variable so that $connection doesn't get replaced.