fix error division zero