fix root filename and deleting a resource