fixing database connection and node version