fix specifications edit issues for active admin