Fix createBundle error