fix clientmax
fix config