added gem meta_request
fix some bugs