fixing a few resource errors