fix copying web resources