Fixed a bug that caused the effect core to error out.