trying fix resources access