fix expect