fixed missing res folder issue