Strip definition length if to long