Noticed inconsistencies in sql

deleted my sql database. blondie moment when i didn't find the db from
before.  noticed that the variables did not match up in between files so
corrected them.