preventing air bubbles