some devision by 0 fixed