some error correction (probable root cause of some ASSERT failure)
some error correction (probable root cause of some ASSERT failure)


Former-commit-id: 8d5432d278c95aa430ca0503b899dc2fdba33e9c
webgme/webgme-engine,webgme/webgme-engine,webgme/webgme-engine