fix deadlock issue with dec_table