api change: reflist now take string ns instead of int kind