fixed date format error with queue being different from subscriptions and fixed elementTree issue