need to handle message length error