Fixed issue of converting sub values.