server fixed to get config