fix charging issue.