fix issue in running spec