do not set amz token if it is null