minor preview bugfix