fixed title and expanded unescape subrountine