validate only after auto setting projectcode