remove some leftover controller code