giSecurity bug fix for id_level = 0