small fixes for module objects