Revert "use project_data to access project related settings"

This reverts commit 2ff1ce30e0bc57387aa6578770953c1b8a4e71c3.