Fixed incorrect constructor