init db
fixed sql query
removed space
fixed sql
fixed sql query
removed db init
fixed sql queries
fixed sql queries