clean module references