delete ResController