fix use condition
fix api token expires