Fixed path and character truncation issues.