helpers for removing items from s-expressions