fix divider 0 bug