fixed get all resources