pictures preview fix