refactor project setting.