removing unneeded artifacts