removing unwantted comments