fixed checking membership of project