Fixed issue caused by the none parameterless constructor