fix bug length of input message must be more than 3 char