[FIX]: fixed demo project, and library issue.. I should've tested more!!
Thanks to NightIsland for reporting.