fix error when add active admin