Fixed the resources thing