update slave conf, and clean spacing