remove useless device