removes unneccessary themes