fixed bug: wrong paths stored in the resource objects (the paths were
not updated)