Resolved dummy bug in constructor