fix the battery error