fixed issue #92
but it needs some testing if everything is working correctly

git-svn-id: http://graph-studio-next.googlecode.com/svn/trunk@99 c2f33eb2-41b2-391d-4cb4-d9d0608729ba