fixed expect command