moving resource to top