[fixed] Divide by zero issue

Change-Id: I29099cb1900be61b7ff279cc57f7138eb581212b