added warning on base constructor