Fixed escape variable method to global matching