fixing attribute reference
fixing dependent import