fixed problem with missing resources