shorten and error