bug fix: stop crash on missing accept_type