Fixed Undfined bubble bug