change the relativ url to absolute
delete unneed resources