fixed bug in isOid-function