Fixed address error in constructor