Fixed resource warnings