Resources folder bug fix