updated bugid and assert methodology