export: check variable type

also fixed existing occurrences
696567d9d7Sahnvour committed on 11/24/2019, 8:33:58 PMparent912c1c2
3 files changedLine totals unavailable