modify script for error fix

Change-Id: Id9f8a16079859f535c6ff30cc207b2638c02b829