fix refreshing tokens