Removing needless ui components