Fixing dangling metachars