add max length for messages