keep select file when destroy the style