Fixed bug where constructors were called multiple times