fixing paging but not sure of ceilign this
get_line c_system and paging