handling master started after agents