fix last issues for slave deployment