fixed missing end on domains controller