copying resources was changed