adjust dependency analyzer to use attributes properly