fixing attribute import