fix cosmos