fix
sql join doesnt work