..
refactor line/page stuffs, preparing to support clip