Fixed bug in constructor.