Fix selection length