Readded replace in controller