clear the code and add preview.png