fix a two ids bug