added max length option to trim the bio's