fixed bug caused by Block 0.from == -1