fixed buggy isIdObsolete