sd bug fix for charge code, fixed grid plot problem too