fix problem when only one module to update
// debug messages