fix charge flip

fix charge flip in CSCTF simulation