fix associate permissions task