backend ensure all modules have self variable set