Fix resources access