fix constructor injection