badwords: fix config parsing hooks