fixed more sql errors

fixed:
name mismatch with voyage ID
primary keys need parentheses