__getattr__ replaced by __getattribute__ due to give the attibute higher priority that keys