Create the proj and fix some warning