Got rid of ZeroDivisionError.