Fixing sample project (refs: #479)