properly treat dead-ends