update sample settings to let it can run

Fix: Older constructor and wrong project setting #68