remove deleted structures