fix matching lists by reference when in a rewrite
remove old scan size limits