Fixed lastwarpindex