Remove extra not necessary lines