fix constructor visibility