fix detail controller instantiation