Fixed bug that occured when sending messages bigger than 126 length