fix nested bundle reading error