fixed remove element gui issue