fix bubble bug