add defined module if one module has deps