Fix NPE when trying to preview