ensure token is returned correctly to initiate