fixed many bugs; implemented router_decpwd_list