fix __construct