fix bundle bug