fix bundle loading delay