cleanup the resources folder