fixed -1 length of message