fixing database
databases setup