Minor cleanup
Fix reso initialization bug