Fixed a bug that caused the base modules to error out.