applying changes to the case where stride is used for issue #2196