removing space stripping from constructor