clean and fix some issues in project configuration