Fix #2 getting attribute