fix error path

Change-Id: I0b97b89c89e8417d0fcbdddb4e1293094fae23aa