Fixing dynamic modules loading bug.