bug fix: skipline
skipline: fix function header
skipline: simplify code