fixed local settings for db