Fix return type in step seq line() func