fixing attr access.