check constructor property before using it