Fixed bug (codeplex issue 102)

Signed-off-by: Christoph M. Wintersteiger <cwinter@microsoft.com>
removed debugging code.

Signed-off-by: Christoph M. Wintersteiger <cwinter@microsoft.com>