fix while condition to allow multi-line conditions