update gem version. fix bug