fixed loading wagn file from version