clean buffer on every "while"