fix fromid param type