sweet baby jesus it talks to the DB correctly now (4 hrs later...)