fix line numbers bug