fixed automatic fields initialization