Hot fix for getattribute problem