fix bug for fronted Director