fix bug of 0,0 underflow