002 fixed 80% of char fix func

Need to fix cd check and cd add.