fix incorrect constructor privacy level