do replace for controller