Fix shadowed cons variable