fixed file preview