fix bundle errors