fix skippingWhile()