remove unused infomation