wmaxmag loop changed.