now handles special characters in chapter names