 		{
 			// we only decrement the resourcesToLoad count, if the command wasn't executed
 			// yet. If if was, our statistics should not be distorted
-			if (cmd is IResource && m_currentCommands.contains(cmd))
+			if (cmd is IResource && m_pendingCommands.contains(cmd))
 			{
 				m_numResourcesToLoad--;
 			}

			if (e.target is IResource)
			{
				m_numBytesLoaded += IResource(e.target).bytesLoaded();
			}
			super.command_complete(e);
		}

		*/
		override public function addCommand(cmd:ICommand):void
		{
			super.addCommand(cmd);
			if (cmd is IResource)
			{
				m_numResourcesToLoad++;
			}
		}
		
		/**
