fixed a potential bug with FedExHelper