hide line numbers when failed to get current line number