Fix setting file with separate DB