check line numbers