commonjs exports fix, dynamic register adjustments