fixed typesystems empty error

missing parameter to get_rewriter call