Fix internal resource access and don't die if resources are not available