Fixing error with undefined related projects