Limited the msg length. Fixed #17