attr accessible doesnt work for some reason