Fixed a small error in the Constructor