Fix sqlite and reload issues for server.