expect didn't work on trusted builds