need to unpack value when fetching from DB