validate proj dir before using