Fixed typo that broke with resources