bugfix: failed when no bugId