Fixed a constructor