Fixing variable reference.