Fixed the name of the data type previously name of constructor was being used as the name of the datatype