Removing not needed lines