slave bug fixed