more stable handling of nots and elses