fixed problems with 1 at the end of a block being seen as padding and randomly popped from list