move resource to root