remove garbage characters