fixed typo in sql statement
fixed path name for database file