Don't hardcode "$mod" in error message