replace invalid ministry