replace all list(...) to position consts