fixed problem with unpadded blocks