set length of toast