cleanup parse_shorts