remove unused controller code