fix broken module references