loading now correctly empties out the resource view