fix all issue , now the demo could be executed