Fixed divisionbyzero error