Pass isSlave correctly