slave setup page finish

finish slave setup page and fix some error on master setup page