bugfix: join index issue