fix stub issue