fix thread offset + stride check