optimize dead enters