remove CustomScanner, make versFieldConst a const instead of a var