use value() in view instead.

Signed-off-by: crynobone <crynobone@gmail.com>