fixed obscure bug in type of strides