modules.c: removes unneeded hack