fix passenger tmp logic error