deletion of useless things