(DeadCodeElimination) Refactoring, move entry point on top
(DeadCodeElimination) Fix NPE with the transformation