Dev clean up reg controller