Fixed get_token