preserve res folder