fix sample delay pull with negative index