fix for attr accessor error on prod