Get attributes correctly