updated preview, shows error when failing to compute
updated preview, shows error when failing to compute