adjust the resources