introduce limits and refacroed for default server config