fix slave finding