fix some named bug