shorten flags