[modules] [fix] patch for storing only hidden modules