Good catch. already changed to `takeWhile`