improving bundle loading