fixed resume index