Fixed code typo in slave setup