fixing attr accessible