Fix for resource bundling bug