fixed installModule() call; added some debug messages