fixed the constructor
fixed a constructor