fix router of api