active undefined err