fixed error with long messages