fix bundle error