Fix the issue. if list1 and list2 both coefficient are 0, then list will be null