fix bug when loading servers into db