fix interfaces of modules