definePath fix, pass arguments and require to moduleI