fix bugs, add setup project.