Fixed bug in not calling contructor