fixed method difference result as string output
fixed demo scripts