minor fix to preview