fixing ModuleStack calling itself via $this (needs to typecast (array))