fix modules, firmware copying