fix return type of value from setting (should be Text)