resource access fix