Fixed a bug with resource access