fix error when anonymous user addes proejct