Fixed expect script

Change-Id: I162d4c0fcab1765424351df7a1ef0bf0ed5deffe