Fixed an issue where value property does not take effect when passed via constructor