fixed the selector.delete error