Better handling of ".." char sequence