fix for freeze when no active inputs