fixed some error in server config