fixed bug with empty view-only value