fixing bundling errors