replace strange characters on prompt