fix bug while unmarshalling fx spot