Fix previewer check