fix incorrect key reference