unnecessary lines cleanup