Remove some unnecessary lines