fix bug with parse bundle