fix repo setting and delete repo