fix charging