 		{
 			// 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--;
 			}

		override protected function registerListenersForAsynchronousCommand(
			cmd:IAsynchronousCommand):void
		{
			super.registerListenersForAsynchronousCommand(cmd);
			cmd.addEventListener(ResourceEvent.PROGRESS, resource_progress);
		}

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