Correcting Bubble problem