local server db fix