removing not needed lines