reset module interface to avoid no gc issues