fixing attr