change inner join to join