remove some old getattr reference code