fix for independent running of modules