fix validation of projects