fix join syntax