cleanup first before re-importing the fore module