fix bug join