pagerController deleted and code format