Fixed bug in constructor check