Fixed scope bug in fixed module setup method