fix zero x,y block size problem