fix V595 The 'amodule' pointer was utilized before it was verified against nullptr