[BugFix] fix Division by zero