correct expect syntax