fix break on flash