clean up of the resource implementation