fixed division by zero problem when dropping too many assignments