add better error on missing module statement