Preview関数変更

Signed-off-by: Naoya Kikuchi <ashidome@gmail.com>