Dont allow negative values for line numbers