remove preview when incorrect file is selected