Fix empty project bug